#ifndef AGENDA_H
#define AGENDA_H

#include <iostream>
#include <string>

using std::string;
using std::ostream;
using std::istream;

//日程类
class agenda
{
public:
	int id;
	string s_date, s_time, e_date, e_time;
	string detail;
	agenda();
	agenda(int, string, string, string, string, string);
	bool operator<(agenda &);
	bool operator>(agenda &);
	friend ostream &operator<<(ostream &, agenda &);
	friend istream &operator>>(istream &, agenda &);
};
#endif